﻿using IService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Service
{
    public class UserService : IUserService
    {
        public async Task<bool> CheckLoginAsync(string name, string passwrod)
        {
 
            return name == "admin" && passwrod == "123" ? true : false;
        }
    }
}
